<?php ob_start();
include ('config.php');


?>
<nav>
<ul>
       
       <?php
	   if ($_SESSION['loggedin'] == "TRUE")
	   {
	   echo "<li class='current_page_item'><a href='".$workurl."index.php'>Startpagina</a></li>";
	   echo "<li><a href='#'>Reservaties</a>
	   				<ul>
						<li><a href='".$workurl."reservaties/bekijk_reservatie.php'>Bekijk reservaties</a></li>" .(($maakafspr==1) ? "
						<li><a href='".$workurl."reservaties/reservatie.php'>Maak afspraak</a></li>" : "")."
					</ul>
	   	   </li>";
	   echo "<li><a href='".$workurl."users/pwdres.php' >Wijzig wachtwoord</a></li>";
	   echo "<li class='current_page_item'><a href='".$workurl."helpdesk/support.php' >Helpdesk</a></li>";
	   echo "<li><a href='".$workurl."login/logout.php' >Afmelden</a></li>";
	   }
	   else 
	   {
	   echo "<li class='current_page_item'><a href='".$workurl."index.php'>Startpagina</a></li>";
	   echo "<li class='current_page_item'><a href='".$workurl."helpdesk/support.php'>Helpdesk</a></li>";
	   }
	   ?>
	   
</ul>
</nav>

